#include <iostream>

struct animal {
        int age;
        int sex;

        void eat(void)
        {
                std::cout << "eat..." << std::endl;
        }

        void sleep(void);
};

void animal::sleep(void)
{
        std::cout << "sleep..." << std::endl;
}

int main()
{
        animal a;

        a.eat();
        a.sleep();

        return 0;
}
